package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.Pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 *Mapper MyBatis 框架的注解，告诉框架为该接口创建实现类
 *
 */
@Mapper
public interface UserMapper {
    //@Insert("INSERT INTO user(username,password,nickname,created) " +
    //        "values (#{username},#{password},#{nickname},#{created})")
    int insertUser(User user);




}
